import Layout from '@/pages/public/layout' // 公共部分

const cert = [{
  path: '/course/cert',
  component: Layout,
  children: [{
    path: 'config',
    component: () => import('@/pages/course/cert/config.vue'),
    meta: {
      title: '证书配置',
      permission: 'course.cert.config'
    }
  }, {
    path: ':id/student',
    component: () => import('@/pages/course/cert/student.vue'),
    meta: {
      title: '学员证书',
      permission: 'course.cert'
    }
  }]
}]

export default cert
